/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrQuestion;
/*    */ import com.cr.business.mapper.CrQuestionMapper;
/*    */ import com.cr.business.service.ICrQuestionService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrQuestionServiceImpl implements ICrQuestionService {
/*    */   @Autowired
/*    */   private CrQuestionMapper crQuestionMapper;
/*    */   
/*    */   public CrQuestion selectCrQuestionByQuestionId(Long questionId) {
/* 33 */     return this.crQuestionMapper.selectCrQuestionByQuestionId(questionId);
/*    */   }
/*    */   
/*    */   public List<CrQuestion> selectCrQuestionList(CrQuestion crQuestion) {
/* 45 */     return this.crQuestionMapper.selectCrQuestionList(crQuestion);
/*    */   }
/*    */   
/*    */   public int insertCrQuestion(CrQuestion crQuestion) {
/* 57 */     crQuestion.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crQuestionMapper.insertCrQuestion(crQuestion);
/*    */   }
/*    */   
/*    */   public int updateCrQuestion(CrQuestion crQuestion) {
/* 70 */     crQuestion.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crQuestionMapper.updateCrQuestion(crQuestion);
/*    */   }
/*    */   
/*    */   public int deleteCrQuestionByQuestionIds(String questionIds) {
/* 83 */     return this.crQuestionMapper.deleteCrQuestionByQuestionIds(Convert.toStrArray(questionIds));
/*    */   }
/*    */   
/*    */   public int deleteCrQuestionByQuestionId(Long questionId) {
/* 95 */     return this.crQuestionMapper.deleteCrQuestionByQuestionId(questionId);
/*    */   }
/*    */
           public List<CrQuestion> selectCrQuestionListFulltext(CrQuestion question) {
             return this.crQuestionMapper.selectCrQuestionListFulltext(question);
           } 
}


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrQuestionServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */